package me.helllp.dake.common.exception;

import org.apache.commons.lang3.StringUtils;
import org.apache.logging.log4j.util.Strings;

/**
 * 定义全系统的错误基类
 */
public class DakeException extends Exception{
    public DakeException() {
        super();
    }

    public DakeException(String message) {
        super(message);
    }

    public String getErrCode() {
        return Strings.EMPTY;
    }

    public DakeException(String message, Throwable cause) {
        super(message, cause);
    }

    public DakeException(Throwable cause) {
        super(cause);
    }
}
